package com.foreknow.oopTest.book;

/**
 * @author shkstart
 * @create 2021-07-26 9:55
 */
public class OrderItem {
    private String oname;//书名
    private double oprice;//单价
    private int onum;//购买的数量
    public OrderItem() {
    }
    public OrderItem(String oname, double oprice, int onum) {
        this.oname = oname;
        this.oprice = oprice;
        this.onum = onum;
    }

    public String getOname() {
        return oname;
    }

    public void setOname(String oname) {
        this.oname = oname;
    }

    public double getOprice() {
        return oprice;
    }

    public void setOprice(double oprice) {
        this.oprice = oprice;
    }

    public int getOnum() {
        return onum;
    }

    public void setOnum(int onum) {
        this.onum = onum;
    }


}
